package com.heima.comment.service;

import com.heima.model.common.dtos.CommentPageDto;
import com.heima.model.common.dtos.ResponseResult;

/**
 * @Author Lijx
 * @Date 2024-08-01 11:17
 */
public interface CommentService {

    //发布评论
    ResponseResult saveComment(Long articleId, String content);

    //展示文章评论列表
    ResponseResult getCommentList(Long articleId, Object minDate,Integer index);

    //文章评论点赞
    ResponseResult commentlike(String commentId, Integer operation);

    ResponseResult pageComment(CommentPageDto pageDto);
}
